package com.service;

import com.mypg.Video;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VideoService {

    List<Video> selectAllVideo();
    Video selectVideoByVideo_id(int video_id);
    List<Video> selectVideoFor_video_table_jsp(String video_class,String video_class_sub,
                                               int start_row,int page_nums);
    int selectVideo_count_For_video_table_jsp(String video_class,String video_class_sub);
    int selectVideo_count();
    List<Video> selectVideoByVideo_class_sub(String video_class_sub);

    void insertVideo(Video video);

    void deleteVideoByVideo_id(int video_id);

    void updateVideoByVideo_id(Video video);
    void updateVideo_imgByVideo_id(String video_img,int video_id);


}
